package com.tudouji.project.weigh.mapper;

import java.util.List;
import com.tudouji.project.weigh.domain.WeightInterfaceParam;

/**
 * 过磅参数接口Mapper接口
 * 
 * @author tudouji
 * @date 2023-03-22
 */
public interface WeightInterfaceParamMapper 
{
    /**
     * 查询过磅参数接口
     * 
     * @param id 过磅参数接口ID
     * @return 过磅参数接口
     */
    public WeightInterfaceParam selectWeightInterfaceParamById(Long id);

    /**
     * 查询过磅参数接口列表
     * 
     * @param weightInterfaceParam 过磅参数接口
     * @return 过磅参数接口集合
     */
    public List<WeightInterfaceParam> selectWeightInterfaceParamList(WeightInterfaceParam weightInterfaceParam);
    public WeightInterfaceParam selectWeightInterfaceParamListOne();

    /**
     * 新增过磅参数接口
     * 
     * @param weightInterfaceParam 过磅参数接口
     * @return 结果
     */
    public int insertWeightInterfaceParam(WeightInterfaceParam weightInterfaceParam);

    /**
     * 修改过磅参数接口
     * 
     * @param weightInterfaceParam 过磅参数接口
     * @return 结果
     */
    public int updateWeightInterfaceParam(WeightInterfaceParam weightInterfaceParam);

    /**
     * 删除过磅参数接口
     * 
     * @param id 过磅参数接口ID
     * @return 结果
     */
    public int deleteWeightInterfaceParamById(Long id);

    /**
     * 批量删除过磅参数接口
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWeightInterfaceParamByIds(Long[] ids);
}
